package com.guigu.www.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;

@Data
@TableName("sys_users")
public class Users {
    @TableId(value = "ID",type = IdType.AUTO)
    private Integer id;
    @TableField("LOGIN_ID")
    private String loginid;     //用户名称
    @TableField("PASSWORD")
    private String password;        //密码
    @TableField("STATUS")
    private Integer status;     //状态
    @TableField("PHOTO_PATH")
    private String photopath;       //图片路径
    @TableField(exist = false)
    private List<Roles> roles;
}
